package com.isyscore.service;

import com.isyscore.entity.SelfUserEntity;
import org.springframework.security.core.userdetails.UsernameNotFoundException;

/**
 * @Author: liuxq@isyscore.com
 * @Date: 2021-04-21 16:36:01
 * @Description: SpringSecurity用户的业务接口
 */
public interface SelfUserDetailsService {

    /**
     * 查询用户信息
     *
     * @Param username  用户名
     * @Return UserDetails SpringSecurity用户信息
     */
    SelfUserEntity loadUserByUsername(String username) throws UsernameNotFoundException;

}
